package org.system.core.mapper.system;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.system.core.domain.entity.SysDictData;

import java.util.List;

/**
* @author baoRoot
* @description 针对表【sys_dict_data(字典数据表)】的数据库操作Mapper
* @createDate 2024-11-05 14:17:49
* @Entity org.system.core.domain.entity.SysDictData
*/
@Mapper
public interface SysDictDataMapper {
    int deleteDictDataById(Long dictCode);
    int updateDictData(SysDictData dictData);
    int insertDictData(SysDictData dictData);
    SysDictData selectDictDataById(Long dictCode);
    List<SysDictData> selectDictDataList(SysDictData dictData);
    int countDictDataByType(String dictType);
    List<SysDictData> selectDictDataByType(String dictType);
    int updateDictDataType(@Param("oldDictType") String oldDictType, @Param("newDictType") String newDictType);
}




